Method for monitoring end of life for battery

ABSTRACT

A system is described which has a battery, a device which is powered by the battery in an episodic manner, and a charge storage capacitor. The system has attached to the charge storage capacitor a device or devices capable of: reading the rate of charge storage; or measuring both time and charge stored or added to the charge storage capacitor so that a rate of charge storage may be calculated. The estimated replacement time for the battery, particularly for a lithium battery in a pacing device, is easily estimated. Also described herein is a process for estimating a level of energy depletion in the system. The process comprises: finding a relatively quiescent period in powering of the device in the episodic manner; determining a rate of charging in the storage capacitor during the quiescent period; and correlating the rate of charging in the storage capacitor to a value of internal impedance in the battery through a comparison with known relationships for the battery and rate of charging to determine a value for the internal impedance of the battery.

CROSS REFERENCE TO RELATED APPLICATIONS

[0001] This application is a continuation under 37 CFR 1.53(b) of U.S. patent application Ser. No. 09/840,408 filed Apr. 23, 2001, which is a continuation-in-part of U.S. patent application Ser. No. 09/670,653 filed on Sep. 27, 2000, which is a division of U.S. patent application Ser. No. 08/929,629, filed Sep. 15, 1997, now issued as U.S. Pat. No. 6,167,309, the specifications of which are incorporated herein by reference.

BACKGROUND OF THE INVENTION

[0002] 1. Field of the Invention

[0003] The present invention relates to a method of determining when the end of life of a battery is approaching, and circuitry which may be used with that process. The invention particularly relates to such methods where access to the battery for conventional testing means is not readily available, where maintenance of sufficient levels of power from the battery are important with minimal interruption, and for monitoring of battery power in pacemakers. 2. Background of the Art

[0004] Over the last several decades, the lithium-iodine battery has been widely adopted as a power source for the pacemaker industry, as well as other applications. Indeed, the broad use of this battery system in the pacemaker industry has resulted in it becoming substantially the standard power source for that industry. Well over 1,000,000 such batteries have already been implanted. The lifetime of such cells is not great enough to outlast the patient, so the industry has experienced occurrences where such batteries have come to their End Of Life (EOL) under nominal loads and normal circumstances. In addition to the actual replacement experiences of depleted batteries, methods have been developed for approximating the EOL curve of such batteries. It has become evident that there is a great need for matching or interfacing the device being powered by the battery with the parameters of battery behavior to optimize EOL operation.

[0005] In the practice of the invention of this application, reference is made to “lithium systems,” meaning lithium-type battery cells. As pointed out in the article of Parsonnet et al., American Heart Journal, October 1977, Vol. 94, No. 4, pp. 517-528, in 1977 there were at least 5 types of lithium systems in widespread use, including lithium iodine types such as made by Wilson Greatbatch, Ltd. and Catalyst Research Corporation. Today an even wider number and variety of lithium batteries are available. This invention is directed particularly, but without limitation, to battery systems, especially the lithium battery systems characterized by having an internal impedance characteristic curve which is initially substantially linear as a function of energy depletion, but which asymptotically approaches an energy production (output) limit and increasing internal impedance. This total output maximum and high internal impedance is found near, but well before EOL. At that time, the linear characteristic relationship between energy depletion and internal impedance exhibits a knee and internal impedance rises rapidly. This characteristic of lithium-type sources is discussed in my U.S. Pat. No. 4,031,899 which patent is incorporated herein by reference. In the lithium iodine type battery, the cell cathode may consist of molecular iodine weakly bonded to polyvinyl pyridine (P2VP). At beginning of battery life in this type of system, there are about 6 molecules of iodine to each molecule of P2VP. No electrolyte, as such, is included in construction of the cell, but a lithium iodine (LiI) electrolyte layer forms during cell discharge, between the anode and cathode. The LiI layer presents an effective internal impedance to Li⁺ ions which travel through it. Since the LiI layer grows with the charge drawn from the battery, or milliamp hours (mAh), this component of the battery impedance increases linearly as a function of mAh (i.e., as a function of cell energy depletion). In the pacemaker environment, since there is constant (but not uniform) energy depletion, this component of the internal impedance increases continually with time. However, and particularly for a demand pacer which at any time may or may not be delivering stimulus pulses, the increase of this component is not linear with time, due to the fact that current drain is not uniformly constant.

[0006] For the lithium iodine type cell, there is another component of internal impedance which is caused by depletion of iodine in the cathode. The cathode is essentially a charge transfer complex of iodine and P2VP, and during discharge of the cell iodine is extracted from this complex. In the beginning there are about 6 molecules of iodine to each molecule of P2VP. During extraction of iodine from the complex, the resistance to this procedure is low until the point is reached where about only 2 molecules of iodine are left for each molecule of P2VP, at which point this impedance rises very sharply. This gives rise to a non-linear internal impedance component which, for the lithium system, is called variously the depletion resistance, the depolarizer resistance, the charge transfer complex resistance, or the pyridine resistance. By whatever name, the combination of the non-linear component with the linear component produces the impedance characteristic with a knee occurring toward EOL, the knee being caused by the reaching of depletion of available charge carriers from the cathode.

[0007] The pacer industry is aware of the potential problem of determining EOL. Since the internal impedance of the source rises drastically after the knee, the battery may have very little or no useful lifetime left after the knee has been reached and passed. Some pacer manufacturers have predicated their design for determining EOL upon detection of the battery output voltage, which voltage comprises the constant open circuit voltage minus the drop caused by the current drain across the internal resistance. However, this is a highly tenuous and very unsatisfactory premise for determining EOL, due to the fact that actual current drain near EOL cannot be predicted nor directly measured with ease. For any manufacturer's pacer which is implanted and used in combination with a given electrode, there will be a variation in the effective load as seen by the lithium battery, and a resulting variation in the overall current drain. Accordingly, if the EOL design is predicated upon sensing voltage drop to a given level, there can be very little assurance that the level chosen will closely and accurately correspond to the knee of the cell curve.

[0008] One lithium cell manufacturer, Catalyst Research Corporation, in a paper presented to the Workshop on Reliability Technology For Cardiac Pacemakers, October, 1977, pointed out that for such batteries, sensing of the battery internal resistance is more reliable than voltage sensing. The position that cell resistance rather than cell voltage is a better warning indicator is based upon the observation that the resistance characteristic has a much less steep EOL curve. Stated differently, at low currents typical for pacers, plots of resistance against time give more warning than plots of voltage against time. If voltage characteristics for different current drains are plotted, the knees are observed to have a fairly wide variation, meaning that the voltage at which the knee might appear is subject to substantial variation as a function not only of the particular battery being used but also the load being drawn by the pacer. On the other hand, plots of resistance indicate that the knee varies over a smaller range of values of internal resistance. Since the current drain may vary by as much as a factor of 5 to 10 due to different electrode loads (which may be varied between similar units by pre-programming), the variation in voltage may be as much as five to ten times as great as the variation of internal resistance. Monitoring the internal resistance provides a direct indication of the state of the battery, whereas monitoring the output voltage gives only a secondary indication, reflecting both the state of the battery and the operating condition of the pacer. This condition, it is anticipated, will be even more emphasized with the development of new, thin, large area batteries and cells which generally have steeper EOL slopes.

[0009] U.S. Pat. No. 4,031,899 discloses a circuit which can be programmed to provide an indication of the internal resistance of the lithium battery cell. A switching circuit is used which alternately connects the relatively high current drain output circuitry and the relatively low current drain remainder of the circuit. By adjusting the duty cycle of the switching function, the voltage transferred from the battery to the respective circuits may be programmed to be substantially constant until the resistance reaches the predicted value correspondingly to the knee of the curve, after which there is a programmed drop. Since the oscillator rate is linear as a function of delivered voltage, a programmed drop in frequency can be used to indicate that the battery resistance has reached the level where the knee was expected. This feature provides a decided advantage over EOL designs which sensed voltage. The invention disclosed in U.S. Pat. No. 4,259,639 is described as having the added advantage that the exact resistance value at the knee need not be anticipated ahead of time. Even though the depletion resistance component is very predictable, the total value of the internal resistance at the time the knee is reached will be subject to some statistical variation so that EOL cannot be accurately predicted by simply monitoring total battery internal resistance. What is acutely needed in the pacer industry is a means for providing an accurate indication of the EOL and more preferably an accurate identification of an Elective Replacement Time (ERT) when a battery has reached a sufficiently depleted level that replacement procedures should be scheduled at a convenient time in a defined future period. The same need exists in other industries, such as electronic computers and space vehicles where batteries are used to maintain power during shut off of normal power or in emergencies.

[0010] U.S. Pat. No. 4,259,639 describes an improved method and circuitry means for detecting the occurrence of the knee of the curve of the resistance characteristic of a battery source having non-linear energy depletion characteristics. The circuit interfaces with a battery and is designed to measure that component of the internal resistance, which causes the knee in the internal resistance characteristics, and to provide an output which is useful for control of the device being driven by the battery. In the preferred embodiment, a high speed switching circuit is provided for measuring short circuit current drain from the battery over a small time duration, so that the short circuit current reflects the depletion component of the resistance which causes the knee, and does not reflect the internal resistance component. The circuit utilizes the fact that the electrical representation of the battery source comprises the linearly increasing resistance component in parallel with an effective capacitance, such that for very short samples of short circuit current from the battery, the linear component is shunted. By comparing the sampled short circuit with a predetermined value corresponding to a given level of the depletion resistance, which level is selected to clearly indicate the knee of the resistance characteristic, there is obtained an unambiguous indication that the battery is near end of life. One problem with this design is the need to essentially close down the electronics of the system, impress a significant voltage through the battery section to effectively override any transient current or signals, and read the data while the system is closed. In systems where continuous performance or minimally interrupted performance of power flow and system performance is required (as in pacemakers, difficult to replace battery systems, and the like), unnecessary shut down of the system in periodic or even infrequent intervals to test for battery depletion involves an element of risk that can not always be justified.

BRIEF DESCRIPTION OF THE DRAWINGS

[0011]FIG. 1 shows two graphs of Simple Capacitive Charge Time Measurement to evaluate Battery Internal Impedance.

[0012]FIG. 2 shows graphic representations of Improved Capacitive Charge Time Measurement using a switched Resistor and voltage comparator.

[0013]FIGS. 3A, 3B and 3C show an example of Pacemaker Battery Charge-time measurement for the pacing circuit shown.

SUMMARY OF THE INVENTION

[0014] A system is described which has a battery, a device which is powered by the battery in an episodic manner, and a charge storage capacitor, the system having attached to the charge storage capacitor a device or devices capable of: reading the rate of charge storage; or measuring both time and charge stored or added to the charge storage capacitor so that a rate of charge storage may be calculated. The use of this system allows for easy estimation of the estimated replacement time for the battery, particularly for a lithium battery in a pacing device.

[0015] One process for estimating a level of energy depletion in the system comprises: finding a relatively quiescent period in powering of the device in the episodic manner; determining a rate of charging in the storage capacitor during the quiescent period; and correlating the rate of charging in the storage capacitor to a value of internal impedance in the battery through a comparison with known relationships for the battery and rate of charging to determine a value for the internal impedance of the battery.

[0016] The present invention also describes an electrically powered system having a battery, especially a lithium battery, the battery characterized by having an internal impedance characteristic curve which is initially substantially linear as a function of energy depletion, but which asymptotically approaches an energy production (output) limit and increasing internal impedance. This total output maximum and high internal impedance is found near, but well before EOL. At that time, the linear characteristic relationship between energy depletion and internal impedance exhibits a knee and internal impedance rises rapidly. The preferred systems comprise a lithium battery, a device which is powered by the lithium battery in an episodic (e.g., non-constant, non-linear) manner, and a charge storage capacitor. The system has attached to the charge storage capacitor a device or devices capable of: reading the rate of charge storage; or measuring both time and charge stored or added to the charge storage capacitor so that a rate of charge storage may be calculated.

[0017] A cardiac pacing system is described having a lithium battery, a device which delivers electric current to a patient, which device is powered by the lithium battery in an episodic manner, and a charge storage capacitor. The system has attached to the charge storage capacitor a device or devices capable of: reading the rate of charge storage; or measuring both time and charge stored or added to the charge storage capacitor so that a rate of charge storage may be calculated.

[0018] A cardiac pacing system is described having a lithium battery, a device which delivers electric current to a patient, which device is powered by the lithium battery in an episodic manner, and a charge storage capacitor. The system has attached to the charge storage capacitor a device or devices capable of: reading the rate of charge storage; or measuring both time and charge stored or added to the charge storage capacitor so that a rate of charge storage may be calculated.

[0019] In describing an episodic charge delivery, it is meant that at least one element of the device powered by the battery is powered in an episodic, as opposed to a continuous, manner. A system which has, for example, two elements, one powered in a continuous manner and the other powered in an episodic manner, is a system with an episodic charge delivery since at least one drain on the battery is episodic.

[0020] Also described is a process for using these types of systems. The process estimates a level of power depletion in a system having a lithium-type battery, a cardiac pacing device which is powered by the lithium battery in an episodic manner, and a charge storage capacitor. The system has attached to the storage capacitor a device or devices capable of: reading (including outputting to a reading device) the rate of charge storage; or measuring both time and charge stored or added to the charge storage capacitor (or outputting such values to a reader) so that a rate of charge storage may be calculated. The process comprises: finding a relatively quiescent period in powering of the device in the episodic manner; determining a rate of charging in the storage capacitor during the quiescent period; and correlating the rate of charging in the storage capacitor to a value of Internal Impedance (e.g., DC or AC) in the battery through a comparison with known relationships for the battery and rate of charging to determine a value for the Internal (e.g., DC or AC) Impedance of the battery.

[0021] This process can be effected, for example, where the comparison is done by use of a look-up table having predetermined quantitative comparisons of measured capacitor charge rates and Internal (e.g., DC or AC) Impedance for a particular battery. The process may also be performed in a manner where, after determining a value for the Internal Impedance of the battery, the value for Internal (e.g., DC or AC) Impedance of the battery is used to determine a value for expended energy from the battery. In this latter process, for example, the use of the value for Internal (e.g., DC or AC) Impedance of the battery to determine a value for expended energy may be effected by reference to a graphic representation of a relationship between Internal (e.g., DC or AC) Impedance of the battery and energy expended from the battery.

[0022] This process may be performed where the storage capacitor is used to store energy which is used to energize a pace from the pacing system to a patient, or the storage capacitor has another function within the pacing system, or where the storage capacitor has no function except for its use in assisting in the determination of a charge storage rate effected by the battery.

[0023] The process may use a period immediately following an atrial pace or atrial pulse (e.g., where a pace has been inhibited) or a period immediately following a ventricular pace or ventricular pulse.

DETAILED DESCRIPTION OF THE INVENTION

[0024] The term “lithium-type” as used herein refers to the lithium iodine battery as well as other lithium systems such as those disclosed in the aforementioned article of Parsonnet et al. More broadly, the term “lithium-type” refers to a battery or cell having approximately the characteristics displayed by the lithium iodine battery. The cell has an effective open circuit voltage E₀ which, by way of illustration, is about 2.8 volts for the Catalyst Research battery. The effective internal impedance in series with E₀ comprises 2 impedance components. The first impedance component, shown as R_(L), represents the resistance to the travel of Li⁺ ions through the LiI layer. This resistance is a direct linear function of the charge or energy drawn from the battery, such that this component is linear as a function of battery usage. As is well understood in the art, as the charge production from the battery increases (higher Milliampere Hours), the Internal Impedance increases. The increased Impedance is a clear indication of the depletion of the available energy from the battery. Dependent upon the power needed for any individual use of the battery, and a particular device attached to the battery, a certain point along the curve of internal impedance versus charge depletion is reached where the battery must be replaced or that particular device will not function properly, or may not provide the advertised or announced level of performance (pacing amplitude and rate telemetry) stated in a physician's manual before ERT is declared. At that point, the device may not provide the requested operating time after ERT to allow the physician to recognize the ERT flag. This could affect the ability to schedule and surgically replace the device before a patient's safety has been jeopardized. Some devices may have a continuous drain on the power of the battery, and others, like pacemakers or other timed performance devices, have either intermittent power requirements or combine a continuous power drain for one function (e.g., to drive a microchip, microprocessor or timing circuitry) and an intermittent function (e.g., such as pacing, measuring, signaling, lighting, etc.) which has intermittent power utilization. Even with essentially continuous drain or uniform drain on a battery, there may be circuitry within the system which makes it difficult to measure total summation of energy provided by a battery or to directly measure variables in energy consumption that would directly indicate the past charge consumption and/or the remaining charge in a battery. This measurement is made even more complicated in the environment of a pacemaker, where a battery may be implanted within a patient's body, where interruption of the power source might represent a reliability hazard, and where total past power utilization can not be accurately measured as it is dependent upon so many variables, such as for example, the individual functions which may or may not be programmed into the pacemaker (e.g., atrial pacing, ventricular pacing, sensing, adaptive rate functions, etc.), the settings programmed by the doctor for the individual patient, abnormal use characteristics, variations in activity amongst patients, and the like.

[0025] Unfortunately, it is not easy to directly measure the Internal Impedance of a battery/system or to keep an accurate running total of power consumption in the system to more directly indicate ERT. It is also of uncertain risk to disconnect the electronics (as in U.S. Pat. No. 4,259,639) to take accurate readings on the level of battery depletion.

[0026] The present invention takes advantage of certain relationships within circuitry which allow for very good approximations to be made within the system of circuits and battery to estimate impedance of the battery in situ so that the present charge depletion state of the battery can be accurately estimated. This can be accomplished with minimal or no interruption of the normal battery and device operation.

[0027] The present invention makes use of the fact that each battery and level (average quiescence or programmed pace) of power consumption provides a determinable battery resistance versus charge depletion curve. Each type of battery, with different programming and/or average demands on the battery, will produce a slightly different, but predictable curve depending upon average battery current. For example, with higher pace power usage, the battery impedance versus Q on a graph would curve up later but more sharply with respect to the total charge utilization (e.g., the number of milliampere hours) than would a more moderately programmed device. More importantly however, the length of useful life for a battery with higher rates of power consumption is less when the Internal (e.g., DC or AC) Impedance and charge depletion increases beyond a certain point, and depending upon the specific system and needs, the system may have to be replaced at a period of shorter or less total charge consumption (e.g., because of the need for more rapid and/or more frequent and/or larger units of power demanded by the system). For example, a battery in a pacemaker where the pacing function requires about 8 microamperes of current would have much greater life and more latitude with respect to available operating time after ERT declaration for replacement at a given charge depletion level, for example only, as about 1000-1500 milliampere hours than would a battery in a pacemaker requiring 80 microamperes pacing current. The period of time to extract the necessary energy from the battery to generate the pace pulse increases as the battery is depleted, and where there is a greater power/pulse demand. If the charging time exceeds the pace pulse control period (the cardiac pacing cycle), full power provision within the system will not be delivered as therapy to the patient.

[0028] The present invention actually uses this fundamental problem in the system as a basis for monitoring the past battery charge consumption and the present power and charge reserves of a battery. To effect the practice of the present invention, a system of the present invention comprises: a battery; a device which is powered by said battery; a storage capacitor within said device; a means for reading the charge stored in said storage capacitor; and a means for measuring a time interval. The invention is practiced by commencing the measurement at the end of a cardiac event (sensed or paced), measuring the increase in charge which occurs in said storage capacitor during a predetermined or measured period of time to determine a rate of capacitor charging (or directly measuring a rate of charge increase in said storage capacitor), and relating that rate of capacitor charging to an Internal (e.g., DC or AC) Impedance for the battery. After determining or controlling the background quiescent current draw (e.g., by microprocessor or supporting electronics) from the battery, that value may be directly correlated (mathematically or graphically) to the present battery charge depletion state (as later explained). Graphic or mathematical relationships may be pre-established based upon, for example, known battery characteristics, known power requirements for specific devices, specific programming imposed upon the device, and known history of the device user. In the case of a pacemaker, embedded software within the pacemaker makes estimates of post-ERT indication operating current and uses electronic look-up tables to determine the appropriate charge time or charge rate limit. Measure charge time or rates greater than the above indicated values indicate battery charge depletion equal to or grater than that required to sustain the device operation over a reasonable time period after ERT has been declared (e.g., a reasonable physician response time), or battery impedance has grown too large to meet predefined steady-state or transient demand performance criteria, for example pacing at full programmed amplitude during temporary rate adaptive pacing. Also, a doctor may easily identify what specific mathematical relationship or curve should be used for evaluating Elective Replacement Times and/or End Of Life times for specific patients and programming which he has imposed upon the system. The supporting programmer (e.g., a computer) can read out the charge time value via telemetry and charts which will directly correlate specific storage capacitor charge rates to the remaining battery charge for the purpose of indicating the trend of battery charge depletion in the form of a gas gauge, or equivalent indicator. A storage capacitor within the system may be part of the functioning mechanism of the system (e.g., fundamental to the performance of the device, such as a storage capacitor in a pacemaker in which the pacing charge builds up) or may be inserted solely for the function of measuring charge rate for the purposes of the present invention. The capacitor may also be used for some additional, non-fundamental purpose, if desired.

[0029] One of the fundamental difficulties in making measurements of the battery system, particularly in a pacemaker, is the fact that the circuitry can have many different functions which draw on the battery at various times, and which produce current and battery terminal voltage fluctuations. These variations are normal in any system, especially a pacemaker where to achieve low power, the circuitry has been designed to operate in a duty-cycled manner. But combined with multiple device functions and varying depletion rates of the battery, it is difficult to take meaningful electrical readings to assess the battery at a random time. This is one of the reasons that U.S. Pat. No. 4,259,639 disconnects the electronics of the device, so as to reduce any transient voltage/current influences.

[0030] In the present invention, a relatively transient-free period is selected in the operation of the device. When performed, the measurement is executed at the end of a cardiac event (sensed or paced). This is done in order that the measurement, which impresses as large as possible effective battery load current in order to sensitize the measurement to the battery output impedance, does not prevent the pacing supply from fully charging and delivering full pulse amplitude on the immediate subsequent cardiac pace cycle. As the device is programmed by the physician using the programmer with known functions and intervals, these periods are known to the device's embedded controls. The periods between atrial and ventricular pacing are the obvious periods to select as relatively quiescent periods. The period between the ventricular pace and the atrial pace (that is, after the ventricular pace but before the atrial pace) is usually the longest natural quiescent period in the pacing cycle as compared to the period between the atrial pace and the ventricular pace (that is, after the atrial pace but before the ventricular pace). These two relatively quiescent periods are called interface periods, the period after the ventricular pace but before the atrial pace is called the ventricular period, and the period after the atrial pace but before the ventricular pace is called the atrial period for the purposes of the present invention.

[0031] Applicant has previously disclosed in prior applications a method for monitoring the end of life for battery using the DC resistance of the battery. These applications include U.S. application Ser. No. 08/929,629, filed on Sep. 15, 1997, and U.S. application Ser. No. 09/670,653, filed on Sep. 27, 2000. Both applications are entitled Method For Monitoring End Of Life For Battery. Application Ser. No. 08/929,629 issued as U.S. Pat. No. 6,167,309 on Dec. 26, 2000. Application Ser. No. 09/670,653 was filed as a divisional application of the 08/929,629 application. Applicant hereby incorporates by reference U.S. application Ser. Nos. 08/929,629 and 09/670,653.

[0032] In the discussion that follows, the impedance exhibited by the battery while charging the storage capacitor is referred to as Z_(Tchg). It represents the average impedance of the battery while delivering charge to the storage capacitor. Since charge transfer occurs in the form of a current pulse over a short interval (e.g., 10 to 300 msec), Z_(Tchg) corresponds to an AC impedance in the range of (100 to 3 Hz). While somewhat sensitive to pulse duration, Z_(Tchg) is approximately equal to the small signal AC impedance evaluated at 100 Hz.

[0033] By measuring the rate of charging that occurs in a storage capacitor during a particular (or collectively both portions) of an interpace period, the Internal Impedance can be accurately approximated from the known relationships for a particular battery and programming (and to a lesser extent, as previously noted, the particular pacemaker and patient). The error in the measurement due to variations in background quiescent current is further minimized by ensuring that the capacitor charging current from the battery is much larger than the absolute value of the device's quiescent operating current. Before the (charge time/charge rate) measurement is performed, the capacitor is discharged to as low a voltage level as possible, yet not so low a charge level that it cannot be fully charged within a pace period at Z_(Tchg)=Z_(ERT). Another objective of discharging the battery to a low enough level is to ensure that the battery terminal voltage falls to the so-called V_(stop) or brown-out voltage of the device. When the battery's terminal voltage is held at a constant value equal to the V_(stop) voltage, current available from the battery is essentially constant, as shown below. In this condition, the current available for charging the measurement capacitor is essentially constant and is inversely proportional to the battery's internal impedance. The battery terminal voltage is typically bypassed or decoupled by a large capacitor to provide transient operating current demands of the pacemaker circuits. The most notable demand is usually the pacing supplies. Unless the bypass capacitor is disconnected or discharged to the V_(stop) limit, charging current is provided by the decoupling capacitor and the charge time measurement will not be sensitive to the battery's internal impedance. In our implementation, the decoupling capacitor is discharged by transferring charge to the measuring capacitor before starting the actual V_(stop)-limit charge time measuring phase. Part of this ability to relate the Internal Impedance and the capacitor charging rate derives from the fact that during these relatively quiescent periods, the voltage across the Internal Impedance is essentially identical to the V_(oc) in the circuit less the V_(stop) or the so-called brown-out voltage in the device. That is:

V_(batt)=V_(stop)

[0034] Because the battery terminal voltage is equal to the brown-out protection voltage (e.g., typically between 2 and 2.8 volts, chosen for example here as 2.35 volts), one of the variables in the system (the V_(stop)) is fixed. While the battery's terminal is forced to the V_(stop) limit, the battery outputs an essentially constant current inversely proportional to its output charging impedance, Z_(Tchg), as follows: $\begin{matrix} {I_{batt} = \frac{V_{oc} - V_{stop}}{Z_{Tchg}}} & {{EQ}\quad 1} \end{matrix}$

[0035] The time to charge the storage capacitor, or the time to place a specific delta (change) charge on the storage capacitor, or a directly measured rate of charge buildup on the storage capacitor, provides a means for determining other desirable values for identifying the Internal Impedance in the following manner: $\begin{matrix} {T_{chg} = {\frac{\Delta \quad Q}{I_{batt}} = \frac{C*\Delta \quad V}{I_{batt}}}} & {{EQ}\quad 2} \end{matrix}$

[0036] Substituting I_(batt) from EQ 1 into EQ 2 leads to predictive expression for T_(chg) given the battery's charging impedance value $\begin{matrix} {T_{chg} = \frac{\left( {Z_{Tchg}*C*\Delta \quad V} \right)}{\left( {V_{oc} - V_{stop}} \right)}} & {{EQ}\quad 3} \end{matrix}$

[0037] Solving for the batteries' charge time measurement impedance Z_(Tchg) provides $\begin{matrix} {Z_{Tchg} = \frac{T_{chg}\left( {V_{oc} - V_{stop}} \right)}{\left( {C*\Delta \quad V} \right)}} & {{EQ}\quad 4} \end{matrix}$

[0038] The description of a preferred implementation of the invention for a pacemaker application is presented in a progression of three steps in order that key concepts and equations can be introduced without cluttering the discussion and equations with significant but distracting factors. First, a simple capacitive charge time measurement technique for measuring the Z_(Tchg) along with certain associated shortcomings is discussed. Next a series connected switch and resistance controlled by a V_(Stop) comparator are added to yield an improved capacitive charge time measurement. Lastly we show how the V_(stop) limited charge time measurement has been successfully integrated into existing pacemaker switched capacitor pace power supply circuitry, and how the effects of the battery decoupling capacitor and background pacing current effects are accounted for in the design and equations.

[0039] A Simple Capacitive Charge Time Measurement Technique:

[0040] The capacitive charge time system illustrated in FIG. 1 is composed of the battery represented as its Thevenin equivalent open circuit voltage (V_(oc)) and output charging impedance (Z_(Tchg)), a switch (SW1), the capacitor © over which the charge/voltage accumulation over time is measured. An initial value of voltage (V₁) is established in preparation for the charge time measurement before the switch (SW1) is closed.

[0041] The exponential voltage and current relationships as a function of time for the RC circuit formed after SW1 is closed are well known elementary electronics concepts. The terminal battery voltage and current as a function of time after the switch is closed is given by EQ5a and 5b.

V _(batt)(t)=V _(oc)−(V _(ox) −V _(I))e ^(−t/(Z) ^(_(Tchg)) ^(*C))  EQ 5a

[0042] The time to charge (T_(chg)) from V₁ to an arbitrary voltage V_(F) can be determined by setting V_(batt)(t) equal to V_(F) and solving for t (EQ 6a). Furthermore this equation can be

I _(batt)(t)=((V _(oc) −V _(I))/Z _(Tchg))e ^(−t/(Z) ^(_(Ychg)) ^(*C))  EQ 5b

[0043] manipulated to solve for the charging impedance, Z_(Tchg), from the measured charge time value T_(chg) (EQ 6b) $\begin{matrix} {T_{chg} = {Z_{Tchg}*C\quad {\ln \left\lbrack \frac{\left( {V_{oc} - V_{I}} \right)}{\left( {V_{oc} - V_{f}} \right)} \right\rbrack}}} & {{EQ}\quad 6a} \\ {Z_{Tcgh} = \frac{T_{chg}}{\left( {C*{\ln \left\lbrack \frac{\left( {V_{oc} - V_{I}} \right)}{\left( {V_{oc} - V_{f}} \right)} \right\rbrack}} \right)}} & {{EQ}\quad 6b} \end{matrix}$

[0044] While this measurement technique is simple, practical application is troublesome if the measurement is to be performed in situ with the pacemaker circuitry connected to the battery during the measurement. The initial value of the capacitor (V₁), which ideally is set as low as possible in order to minimize the error effect of quiescent operating currents on the capacitor charging current, must be constrained to greater than the brown-out voltage (V_(stop)) of the battery powered electronic circuitry. Also, in practice a large decoupling or bypass capacitor (C_(bypass)) is connected across the battery terminals to provide the transient charge requirements of the powered circuitry. C_(bypass) interferes with the charge time measurement because as SW1 closes some of C_(bypass) charge redistributes itself immediately into charging C. This reduces the charge time measurement's intended sensitivity to Z_(Tchg) as the change in voltage of C is due to the C_(bypass) charge and not Z_(Tchg) at all. Furthermore, the presence of C_(bypass) introduces an additional error term since the measurement will be sensitive to the initial voltage condition and component value tolerance of C_(bypass) as well as C_(meas). The initial condition on C_(bypass) can fluctuate greatly during a cardiac cycle due to pacing supply charging current as well other dutied cycled circuitry especially near end of life where accuracy of the measurement is most needed. Disconnecting C_(bypass) during the measurement would remedy some of these problems but the required switch would have a deleterious effect on reliability and increase the possibility of inadvertent circuitry brown-out. Finally, this simple measurement technique is more sensitive to circuit operating current fluctuation than the alternate approach described next because the charging current exponentially decays throughout the measurement. As illustrated in FIG. 1, the battery current during the measurement is at its maximum possible value I_(peak), only at the moment of switch closure (SW1) and then exponentially decays away after this time. The improved charge time measurement circuit discussed next maintains I_(peak) current level throughout the entire charge time measurement.

[0045] Improved Capacitive Charge Time Measurement using a Switched Resistor:

[0046] An improved charge time measurement system, as shown in FIG. 2, results by adding a series resistance (R₀) and control switch (SW1) between the battery terminal and the charge time measurement capacitor (C). Two comparators are shown in FIG. 2. The first whose output is labeled V_(cs)<V_(f), simply indicates the charge-time measurement is complete once C has been charged to a predetermined voltage (V_(F)). This comparison is not new to the improved measurement system and was implied in the simple charge time measurement described above. The second comparator whose output is labeled V_(batt>V) _(stop) we will refer to as the V_(stop) comparator in the present discussion.

[0047] The V_(stop) comparator and SW1 forms a feedback loop which has two purposes. First, the feedback loop prevents the battery voltage from falling below V_(stop) preventing powered electronic circuitry from browning out. Secondly, for a minimum Z_(Tchg), and give R_(o), and measurement capacitor V_(F) voltage values, the feedback loop forces the battery terminal voltage (V_(batt)) to constant voltage level through-out the measurement. The measurement begins by establishing an initial voltage V₁ on C, which for the purposes of illustration has been arbitrarily set to zero in FIG. 2. Note that the inclusion of R_(o) and its associated voltage drop, allows V, to be set below the brown-out voltage (V_(stop)) of the system, thereby avoiding one of the limitations of the simple charge time system. The charge time measurement is started by closing SW1. C begins charging toward a predetermined final voltage (V_(F)). A voltage drop develops across Z_(Tchg) due to the charging current and the battery terminal voltage falls rapidly toward the V_(stop) value. (Note that a battery bypass capacitor has been omitted in FIG. 2 in order to simplify the description, its effect will be discussed in more detail during the final pacemaker implementation description below.)

[0048] In FIG. 2, the V_(stop) comparator samples the battery terminal voltage and opens SW1 whenever V_(batt<V) _(stop) and restores the connection once V_(batt) rises above V_(Stop) by the comparator hysteresis. This action results in an average battery terminal voltage equal to V_(stop). Under this condition the average battery output current is given by EQ 8b.

V_(batt)=V_(stop)  EQ 8a $\begin{matrix} {I_{batt} = {\frac{\left( {V_{oc} - V_{batt}} \right)}{Z_{Tchg}} = \frac{\left( {V_{oc} - V_{stop}} \right)}{Z_{Tchg}}}} & {{EQ}\quad 8b} \end{matrix}$

[0049] As illustrated in FIG. 2, the battery current during the measurement is maintained at its maximum possible value I_(peak) current level throughout the entire charge time measurement. A higher sensitization current is not possible as it would result in the battery terminal voltage falling below the powered electronics brown-out voltage, V_(stop).

[0050] Since the battery current is constant, the voltage across the measuring capacitor © charges approximately linearly with time following a ramp waveform as shown in FIG. 2. Its terminal voltage versus time during the measurement follows EQ 9. $\begin{matrix} {{V_{C}(t)} = {{V_{I} + \frac{\left( {I_{batt}*t} \right)}{C}} = {V_{I} + \frac{\left( {\left( {V_{oc} - V_{stop}} \right)*t} \right)}{\left( {Z_{Tchg}*C} \right)}}}} & {{EQ}\quad 9} \end{matrix}$

[0051] The time to charge (T_(chg)) from V₁ to an arbitrary voltage V_(F) can be determined by setting V_(C)(t) equal to V_(F) and solving for t (EQ 10a). Furthermore this equation can be manipulated to solve for Z_(Tchg) from the measured charge time value T_(chg) (EQ 10b). $\begin{matrix} {T_{chg} = {Z_{Tchg}*{C\left\lbrack \frac{\left( {V_{oc} - V_{stop}} \right)}{\left( {V_{F} - V_{I}} \right)} \right\rbrack}}} & {{EQ}\quad 10a} \\ {Z_{Tchg} = {\left( {T_{chg}/C} \right)*\left\lbrack \frac{\left( {V_{oc} - V_{stop}} \right)}{\left( {V_{F} - V_{I}} \right)} \right\rbrack}} & {{EQ}\quad 10b} \end{matrix}$

[0052] Conditions for V_(stop) Limit: Certain circuit conditions must exist in order that the Battery terminal voltage be driven to the V_(stop) Limit and the T_(chg) and Z_(Tchg) expressions in EQ 10 to be valid. For example, the battery terminal voltage will not fall to the V_(stop) limit if its output impedance Z_(Tchg) were zero; in this case the battery terminal voltage will not deviate from V_(oc). Under this condition, as described in the simple charge-time measurement system, C will charge exponentially and will yield a charge time, predicted by EQ 6b with R_(o) taking on the role of Z_(Tchg). In order to achieve “V_(stop)-limited” charging for a given V_(0c), V_(stop), V_(F), the battery internal impedance must be greater than the minimum given in EQ 11. $\begin{matrix} {Z_{Tchg} \geq \frac{R_{o}\left( {V_{oc} - V_{stop}} \right)}{\left( {V_{stop} - V_{F}} \right)}} & {{EQ}\quad 11} \end{matrix}$

[0053] Several observations can be made from EQ 11. First, “V_(stop)-limited” charge times can be achieved for smaller ZT_(chg) as R_(o) is made smaller. This will become an important consideration in our pacemaker implementation of this invention as R_(o) is the output impedance of the pacing supply. Secondly, it is increasingly more difficult to maintain “V_(stop)-limited” charge times as V_(F) approaches V_(stop). In the limit, V_(F)=V_(stop), Z_(Tchg) increases to infinity in order that the charge-time remain in “V_(stop)-limit”. Lastly, choosing a large V_(stop) value has the positive effect of allowing smaller Z_(Tchg) “V_(stop)-limited” charge times but this benefit should be balanced with the associated degradation in charge time measurement noise due to fluctuations in the powered circuitry current.

[0054] Pacemaker Capacitive Charge Time Measurement Using Pacing Supply:

[0055] The charge time measurement assessment of battery output impedance and charge depletion has been applied to a Li-Iodine battery powered pacemaker. In this preferred implementation, only a minimal amount of additional control circuitry is required beyond that already present in the pacemaker. All of the functional circuit elements of FIG. 2 already existed in modern pacemakers and can be exploited for the battery measurement system. FIGS. 3A, 3B and 3C show an example implementation using existing circuitry and components of a modern pacemaker as described next.

[0056]FIG. 3A is an example of Pacemaker Battery Charge-Time Measurement Implementation. The key substitutions made in FIG. 3A relative to FIG. 2 are:

[0057] 1) Resistor R_(o) has been replaced by the Switched Capacitor Power Supply block which exhibits an output resistance of R_(o) when its clock is activated.

[0058] 2) Switch SW1 has been replaced by the clock on-off AND gate in the middle of FIG. 3A.

[0059] 3) C has been replaced by C_(s), the pacemaker pacing supply storage capacitor from which pulsed energy is delivered to the heart.

[0060] Additional elements in FIG. 3A relative to FIG. 2 are:

[0061] 4) The battery bypass or decoupling or bypass capacitor (C_(b))

[0062] 5) A D/A converter block which is used to set the physician-programmed pace pulse amplitude output voltage level.

[0063] 6) The Pacemaker Sensing & Pacing Control Circuitry and an indication of its associated quiescent operating current (I_(q)).

[0064] 7) The Charge-Time Measurement counter, and control logic which provides the fine control for the charge time measurement. Note that this last element represents the only additional logic required to implement the charge time measurement system in the pacemaker.

[0065] Switched Capacitor Power Supply, Output impedance (R_(o)), and Multiplier (K_(X) Effects on Charge Time Measurement.

[0066] Switched Capacitor power supply designs are commonly practiced and used in a variety of integrated circuit applications. In pacemakers switched capacitor power supplies are used for voltage multiplication in order to boost the Li-Iodine battery terminal voltage (˜2.8V) to pacing voltage levels. These work by alternately removing charge from the battery through bucket capacitors (C_(bkt1), C_(bkt2)) during a filling phase, and then transferring this charge to a storage capacitor (C_(s)) during the dump phase. The fill and dump phases are timed using a digital clock signal. When the digital clock is at rest no charge is transferred and an open circuit between the battery and C_(s) exists. Therefore the switch SW1 of FIG. 2 has been functionally replaced by a “gated” clock in the pacemaker application. A number of different open circuit voltage multiplication factors are possible depending upon whether the bucket capacitors are connected in series or parallel during fill and dump phase and whether the battery is connected to the bucket capacitors during the dump phase. In the illustrated pacemaker application, the pacing supply can be programmed to voltage multiplier setting (K_(X)) of 0.5×, 1.0×, 1.5×, 2.0×, and 3.0× the terminal battery voltage. While V_(cs) is less than the D/A converter V_(X) setting, the power supply clock control is enabled and it performs fill-dump cycles continuously to charge C_(s). While the clock is enabled, the power supply exhibits an output resistance, R_(o), given by EQ 12, where f is the frequency of the clock and C is the equivalent capacitance formed by the series or parallel connection of the bucket capacitors (C_(bkt1), C_(bkt2)) during the dump phase; series or parallel connection depends on the voltage multiplier setting (K_(X)). $\begin{matrix} {R_{o} = \frac{1}{f*C}} & {{EQ}\quad 12} \end{matrix}$

[0067] Conditions for V_(stop) Limit: To achieve “V_(stop)-limited” charging for a given V_(oc), V_(stop), V_(F), switched-capacitor R_(o) and multiplier setting K_(x), the battery internal resistance must be greater than the minimum given in EQ 13. $\begin{matrix} {Z_{Tchg} \geq \frac{R_{o}\left( {V_{oc} - V_{stop}} \right)}{\left. {{K_{X}*\left( {K_{X}*V_{stop}} \right)} - V_{F}} \right)}} & {{EQ}\quad 13} \end{matrix}$

[0068] Several observations can be made from EQ 12 for the pacemaker application. “V_(stop)-limited” charge times can be achieved for smaller Z_(Tchg) as R_(o) is minimized, and K_(X) is maximized. In order to minimize Z_(Tchg) in EQ 12, both R_(o), K_(X) must be considered at the same time since the capacitance © in EQ 12 depends on the bucket capacitor circuit connections during fill-dump cycles, and therefore K_(X). For pacemaker application, K_(X) is determined by the amount of voltage multiplication necessary to achieve the maximum pace pulse voltage amplitude specification. A maximum pace pulse amplitude specification of about 7.0V is common in the pacemaker industry and can be achieved with a Li-Iodine battery using a voltage multiplication factor of K_(X)=3, requiring two C_(bkt). Since K_(X)>3.0× requires additional C_(bkt) capacitors in a very space sensitive application it is probably more desirable to decrease R_(o) by increasing clock frequency f, or increasing C_(bkt) value.

[0069] Secondly, the value of the minimum “V_(stop)-limited” Z_(Tchg) rises as VF approaches K_(X)*V_(stop). In the pacemaker application achieving “V_(stop)-limited” charging is desirable because the charge-time result which are “V_(stop)-limited” will depend on the difference (V_(F)-V_(I)) and not on the absolute value of the pace amplitude setting. V_(stop)-limited charge time measurement avoids amplitude dependent mapping of charge-time to the batteries' charge-time impedance, Z_(Tchg), since it is desirable in some circumstances to perform pacemaker charge time measurement with V_(F) value equal to the physician programmed pace amplitude setting.

[0070] Alternatively, the charge time measurement can be performed while the battery terminal voltage is not at V_(stop) for all or a portion of the measurement. In this case, C_(s) charging time during non-V_(stop) portions of the measurement will be exponential and will depend on the absolute values of V₁ and V_(F) as predicted in EQ 6a. Under non-V_(stop) limited conditions mapping of the charge time measurement to battery impedance is dependent on the absolute value of capacitor voltages. Lastly, choosing a large V_(stop) value has the positive effect of allowing smaller Z_(Tchg) “V_(stop)-limited” charge times but this benefit should be balanced with the associated degradation in charge time measurement noise due to fluctuations in the powered circuitry current. Suppose, for example, a Brady Pacemaker exhibits +/−2 uA fluctuations in average quiescent operating current during the measurement and that the resulting “V_(stop)-limited” battery current flow (EQ 8b) is 100 uA at the maximum end-of-life battery impedance to be measured. In this case the measurement repeatability, and therefore its accuracy, will be no better than about 2% and increasing V_(stop) toward V_(oc) will increase the error.

[0071] Battery Bypass Capacitor (see C_(b) in FIG. 3A) Effects:

[0072] A Brady pacemaker periodically delivers pace pulse energy to the heart. In a typical design, the pacing energy is stored on a storage capacitor (C_(s)) until the pace pulse is delivered requiring C_(s) to be recharged after each pace pulse. For moderate battery impedances, the initial charge transferred by the pacing supply to C_(s) during recharge comes from the battery bypass capacitor (see C_(b) in FIG. 3A) and is quickly removed, usually within 10-20 pacing supply switched capacitor fill/dump cycles (<20 mS). Furthermore, under most pacing and battery conditions (i.e. pulse amplitude, pulse width, and pacing lead impedance, battery DC resistance, R_(dc)) the battery is able to charge C_(b) back to V_(oc)-R_(dc)*I_(q) within the cardiac pace cycle interval time.

[0073] The maximum amount of charge that can be delivered to C_(s) from C_(bypass) during the recharge and the corresponding voltage change is given by EQ 13a and b. $\begin{matrix} {Q_{cs\_ max} = \frac{\left( {\left( {V_{oc} - {I_{q}*R_{d\quad c}} - V_{stop}} \right)*C_{b}} \right)}{K_{X}}} & {{EQ}\quad 13a} \\ {{\Delta \quad V_{cs\_ max}} = \frac{\left( {\left( {V_{oc} - {I_{q}*R_{d\quad c}} - V_{stop}} \right)*C_{b}} \right)}{\left( {K_{X}*C_{s}} \right)}} & {{EQ}\quad 13b} \end{matrix}$

[0074] For the sake of illustration the parameters of EQ 13a and 13b have been assigned values in Table 1. TABLE 1 Example Nominal Parameters. Parameter Value Comment V_(oc) 2.8 V Open Circuit Battery Voltage I_(q) 12 uA Device Quiescent Current, not counting pacing current Z_(Tchg) 7.0 kohms Max battery charge time impedance; close to device replacement time C_(b) 33 μF Battery Decoupling Capacitor C_(s) 10 μF Pacing Supply Storage Capacitor K_(X) 1.5x (nom) Switched-Capacitor Voltage 3.0x (meas) multiplier setting.

[0075] After substituting the values of Table 1 into EQ 13 several observations can be made. First, the terminal battery voltage near end of life differs from the unloaded beginning of life voltage by only I_(q)*R_(dc)=42 mV. Therefore traditional PG end-of-life systems that rely on a quiescent battery terminal voltage measurement provide a relatively insensitive measure of the battery charge depletion; only a 0.15% voltage change from beginning of life. These systems require precise analog circuit design and are susceptible to errors due to fluctuations in quiescent and pacing supply current.

[0076] Secondly, the maximum charge provided by C_(b) to C_(s) is 9.0 uC (EQ 13a), or 900 mV (EQ 13b) in the K_(X)=1.5 voltage multiplier setting. For a typical pace pulse amplitude, width and cardiac lead impedance (3.5V, 0.4S, 500 Ohms) the pacing supply requires about 4 uC per pace pulse to replenish C_(s). Therefore near end of life when the battery impedance is high, the pacing supply draws transient charge from C_(b) to replenish C_(s). This “non-V_(stop) limited” charge transfer from C_(b) is potentially problematic for the charge time measurement.

[0077] Under these conditions, C_(s) charging time will be insensitive to the battery resistance, and charge depletion. Only when the battery is so depleted that the battery terminal voltage has fallen to the V_(stop) level will C_(s) charge time become sensitive to the battery impedance and depletion condition. Unfortunately, generally the point of time at which the charge time measurement becomes sensitive to the battery condition is too late to provide adequate recognition time for the physician to schedule device replacement. in the pacemaker charge-time measurement sequence described next, C_(b) effects are eliminated sensitizing C_(s) charge time to the battery condition without requiring C_(b) to be disconnected from the battery which would adversely affect device reliability.

[0078] Equations 10a and 10b relating charge-time to battery impedance Z_(Tchg) and conversely allowing Z_(Tchg) to be calculated from the charge-time measurement can be extended to the pacemaker implantation and are given in EQ 14a and 14b. $\begin{matrix} {T_{chg} = \frac{\left( {C_{s}*K_{X}*\left( {V_{F} - V_{I}} \right)} \right)}{\left( {\left( \frac{\left( {V_{oc} - V_{stop}} \right)}{Z_{Tchg}} \right) - I_{q}} \right)}} & {{EQ}\quad 14a} \\ {Z_{Tchg} = \frac{T_{chg}*\left( {V_{oc} - V_{stop}} \right)}{\left( {{C_{s}*{K_{X}\left( {V_{F} - V_{I}} \right)}} + \left( {I_{q}*T_{chg}} \right)} \right)}} & {{EQ}\quad 14b} \end{matrix}$

[0079] Measurement Set-up Parameter Selection and Control:

[0080] Before the charge-time measurement is executed three measurement reference voltage parameters need to be selected and loaded into the D/A register file of FIG. 3A.

[0081] reg_V_(F): This register holds the physician programmed Pacing Voltage Amplitude Setting and marks the final voltage end point of the charge time measurement

[0082] reg_V₁: This register holds the initial voltage level at which the charge time measurement is to begin. V, is selected as small as possible so that ΔV=V_(F)−V₁ is maximized with the constraint that charging to V_(F) be complete by the next time a cardiac pace pulse is required. A practical maximum time limit for the entire charge time measurement may be established at the pace period corresponding to the pacemaker's maximum programmable pacing lower-rate-limit (LRL).

[0083] reg_V_(d): This register holds a voltage reference for the voltage to which C_(s) capacitor is to be discharged to immediately after the pace pulse marking the start of the charge time measurement. V_(d) is set to approximately ΔV_(cs) _(—) _(max) (EQ 13b) lower than V₁. For battery impedance meeting the conditions of EQ 12, C_(b) will discharge and its voltage will fall to V_(stop) while the pacing supply charges C_(s) from V_(d) to V₁. Once discharged to and held against the V_(stop) limit, C_(b) is electrically inert and on average neither receives nor provides charge during the charge-time measurement.

[0084] Measurement Control & Sequence

[0085] In this pacemaker application example of the invention, the measurement is controlled by a small amount of dedicated hardwired digital control logic (see Chg-Time Meas Control block, FIG. 3A). Once the Sensing & Pace Control block has selected appropriate parameter values for the two reference voltages V₁ and V_(d) relative to the physician programmed setting V_(F), it selects the pacing chamber for the measurement if it is a dual chamber device.

[0086] Because the V-A pace pulse delay will generally be longer and than A-V interval, performing measurement in the atrial chamber of the dual chamber device will afford the most time for battery terminal voltage to recover from alternate chamber pacing supply charging current transients. Since “V_(stop)-limited” charge time measurements are not sensitive to the initial condition of C_(b), knowing the initial condition of C_(b) is a practical consideration only in selecting V_(d) appropriately. Overestimating C_(b)'s initial voltage condition may lead to too aggressive of a discharge voltage extracting a wall time penalty in charging from V_(d) to V₁. However, underestimating C_(b)'s initial voltage and not setting V_(d) aggressively enough can lead to charge time measurement error if the battery terminal voltage has not fallen to V_(stop) at the start of the charge-time phase of the measurement. For this reason overestimating C_(b)'s initial voltage and setting C_(s)'s discharge level accordingly avoids this potential accuracy problem.

[0087] After having been enabled via the “Go” command from the Sensing & Pace Control the Chg-Time Control block coordinates the fine control over the measurement as follows:

[0088] 1) The controller selects V_(X)=V_(F) for the V_(cs)<V_(X) comparison and turns off the pacing supply clock. The controller waits and synchronizes the start of the measurement sequence to the completion of the next arriving cardiac pace pulse. Note an alternate dummy pace command is provided by the sensing & pace control block if an intrinsic cardiac depolarization is detected and a cardiac pace pulse is not required for the present cardiac cycle.

[0089] 2) Once the pace or dummy pace is received and the pace pulse is completed the controller closes the discharge switch while monitoring the V_(cs)<V_(X) comparator output. Once C_(s) is discharged to V_(d) voltage level (see V_(cs) voltage waveform FIG. 3B, time t_(d)) the controller opens the discharge switch.

[0090] 3) The controller then selects V_(X)=V₁ for the V_(cs)<V_(X) comparison and turns on the pacing supply clock. The pacing supply charges C_(s) to V₁ level (see VCS voltage waveform FIG. 3B, time t_(vi)) and stops the pacing supply clock. C_(b) is discharged and the battery terminal voltage is driven to the V_(stop) limit while C_(s) is charged (assuming the conditions of EQ 13b are satisfied).

[0091] 4) The controller then selects V_(X)=V_(F) for the V_(cs)<V_(X) comparison, and enables the T_(chg) counter turns on the pacing supply clock. The charge time measurement count is accumulated within the T_(chg) counter while C_(s) is charged from V₁ to V_(F). Once V_(cs) is charged to the V_(F) the measurement is complete and the T_(chg) counter is frozen. The measurement is retrieved by the Pace control circuitry and compared to predefined operating current dependent charge-time limits to manage the elective replacement time declaration as described next.

[0092] ERT Declaration Management using Charge-Time Measurement

[0093] To maximize longevity while providing a minimum safe operating time after ERT declaration, operating current dependent and performance based ERT battery charge depletion targets and associated charge-time limits are established as part of the pacemaker design.

[0094] First, the device operating current range is established through analysis of quiescent circuit current drain and min and max pacing power requirements. Once determined, the operating current range is subdivided in discrete current range “bins.” The bins are defined so that all PG's in the range will operate for the minimum specified time after ERT indication is set but not so long that longevity (the operating time from implant to ERT) is significantly compromised. For example the number of bins and the bin ranges can be defined to guarantee a minimum post-ERT operate time of 3 months but not greater than 4.5 months. Increasing the number of bins will reduce the difference between in bin minimum and maximum operating current, and therefore the variation in post ERT operating times. Therefore the selection of the number of bins requires a trade-off between complexity versus longevity (pre-ERT) time.

[0095] Next battery charge depletion ERT targets are established for each bin based on post-ERT operating charge requirements and other pre- and post ERT performance criteria. Performance criteria determine the maximum tolerable battery resistance at ERT. Final battery resistance ERT target for each of the operating current bins are selected to satisfy both the charge-based post ERT operating time criteria and max tolerable battery resistance performance criteria using the battery manufacturer's charge depletion versus battery resistance mathematical models. Since Li-I battery resistance as a function of charge depletion is a function of operating current, this in general involves establishing a mathematical model for an operating current representative of each bin. Once the charge depletion and corresponding battery charge-time impedance (Z_(TChg)) ERT targets have been determined, charge time measurement set-up parameters and corresponding ERT charge time limits can be established that the pacemaker can easily manage. Table 2 below shows an example of a dual chamber pacemaker operating current binning, ERT battery charge-time impedance targets, and corresponding charge-time measurement set-ups and ERT declaration limits. TABLE 2 Example of Operating Current Binning, Charge-time measurement set-up & ERT Limits ERT Battery Battery Charge Charge Charge-Time Time Depletion Impedance Lert V_(d)* V₁* Limit Q Z_(Tchg) Bin # (uA) (Volts) (Volts) (ms) (mA-Hr) (ohms) 1 <23 1.0 0.6 273 1120 6278 2 24-36 1.2 0.8 294 1068 3800 3 37-57 1.5 1.1 158 920 2050 4 >58 1.5 1.1 75 733 1000

[0096] The pacemaker manages ERT flag declaration using the information in the first four columns of Table 2. The pacemaker performs a charge-time measurement approximately once a day. Before executing the charge-time measurement, the pacemaker estimates post-ERT operating current using a combination of look-up table and equation based calculation techniques based on the present pacing mode, pacing pulse settings and lead impedance. Using the current estimate, the pacemaker indexes the appropriate bin number in Table 2, selects the set-up parameters and executes the charge time measurement. The charge-time measurement result is compared to the ERT limit. ERT is declared if the last n measurements have all been larger than the limit. The ERT charge-time measurement is stored in memory where it may be retrieved for battery charge trending as described next.

[0097] Battery Charge Remaining Trending:

[0098] The charge-time measurement value and set-up parameters may be used by the pacemaker programmer to assess battery condition, estimate and display charge remaining and operate time to ERT declaration. The battery impedance Z_(Tchg) may be calculated directly from EQ 14b or by table look-up based on EQ 14b. Once Z_(Tchg) is known a battery charge depletion estimate can be made using standard equation or table look-up based technique using the battery manufacturer's battery impedance versus charge depletion data and formula. A graphic representation of the relationship between battery impedance (Z_(Tchg)) and energy expended, energy remaining, time to ERT can be made to assist the physician in estimating approximate remaining pacemaker life. 

What is claimed:
 1. A device, comprising: a charge storage capacitor; circuitry connected to the charge storage capacitor, the circuitry including a battery terminal to connect to a battery for powering the circuitry in an episodic manner, the circuitry including: means to discharge the storage capacitor to a discharge voltage reference; means to charge the storage capacitor from the discharge voltage reference to a charged voltage reference; means to measure a charge time for the storage capacitor to determine the rate of charging from an initial voltage level that is larger than the discharge voltage reference to a final voltage level; means to determine a value for an internal impedance of the battery based on the rate of charging; and means to estimate the level of power depletion for the battery using the value for the internal impedance of the battery.
 2. The device of claim 1, wherein the charged voltage level is the final voltage level.
 3. The device of claim 1, wherein the circuitry includes: a memory; means to load the memory with a pacing voltage amplitude value to function as the charged voltage reference; means to load the memory with an initial value to function as the initial voltage level; and means to load the memory with a discharge value to function as the discharged voltage level.
 4. The device of claim 1, further comprising: means to compare a voltage across the storage capacitor (V_(CS)) to the discharge voltage reference while discharging the storage capacitor so as to discharge the storage capacitor to the discharge voltage reference; means to compare V_(CS) to the initial level while charging the storage capacitor, and to initiate the measuring of the charge time for the storage capacitor when V_(CS) reaches the initial voltage level; and means to compare V_(CS) to the charged voltage reference while charging the storage capacitor so as to charge the storage capacitor to the charged voltage reference, and ending the measuring of the charge time for the storage capacitor when V_(CS) reaches the charged voltage reference.
 5. The device of claim 1, wherein the system includes a pacing system, the pacing system including means to apply a pace using energy from the storage capacitor.
 6. The device of claim 1, wherein the system includes a pacing system, the pacing system including a second capacitor for use to apply a pace using energy from the storage capacitor.
 7. The device of claim 1, wherein the battery has an internal impedance characteristic curve which is initially substantially linear as a function of energy depletion, but which asymptotically approaches an energy production limit and increasing internal impedance.
 8. The device of claim 7, wherein the internal impedance characteristic curve includes an internal AC impedance characteristic curve.
 9. A pacemaker, including: a battery power terminal for a pacemaker battery; a capacitor electrically connected to the battery power terminal; pacemaker control circuitry electrically connected to the battery power terminal and the capacitor for controlling current flow from the battery power terminal to the capacitor to charge the capacitor and to discharge the capacitor to a discharge voltage level (Vd) before beginning a time charge measurement; and charge time measurement (CTM) control circuitry electrically connected to the pacemaker control circuitry and adapted to: access a predetermined set of charge time measurement set-up parameters and a predetermined elective replacement time (ERT) charge time limit associated with an AC impedance target for the battery; determine a rate of charge storage in the capacitor using the predetermined set of charge time measurement set-up parameters; and declare an ERT using the determined rate of charge storage in the capacitor and the ERT charge time limit, wherein the predetermined set of charge time measurement set-up parameters to be accessed by the CTM control circuitry include: a final voltage (VF) to end the charge time measurement for determining the rate of charge storage in the capacitor; and an initial reference voltage (VI) to begin the charge time measurement for determining the rate of charge storage in the capacitor, VI being greater than Vd.
 10. The pacemaker of claim 9, wherein the pacemaker control circuitry includes comparison circuitry for comparing a battery terminal voltage (Vbatt) to a brownout voltage limit (Vstop), and for comparing a capacitor voltage (Vcs) to one of the predetermined set of charge time measurement set-up parameters.
 11. The pacemaker of claim 10, wherein the pacemaker control circuitry further includes a switched capacitor power supply operably connected to the battery power terminal and the capacitor for charging the capacitor, wherein an output of the comparison circuitry is electrically connected to the switched capacitor power supply to control current flow from the battery power terminal to the capacitor.
 12. The pacemaker of claim 9, wherein the pacemaker control circuitry controls current flow to the capacitor to increase a capacitor voltage (V_(cs)) approximately linearly from VI to VF during the time measurement for determining the rate of charge storage in the capacitor.
 13. The pacemaker of claim 9, wherein: the CTM control circuitry includes a multiplexer for selecting one of VF and VI to be compared to a capacitor voltage level (V_(sc)) within the pacemaker control circuitry; and the CTM control circuitry is adapted to select VI to be compared to Vsc to begin a time charge measurement and VF to be compared to Vsc to end the time charge measurement.
 14. The pacemaker of claim 9, wherein the CTM control circuitry includes a time charge counter for measuring a time in which a relatively constant current charges the capacitor from VI to VF.
 15. The pacemaker of claim 9, wherein the pacemaker control circuitry includes a sensing and pacing control block adapted for selecting VI.
 16. The pacemaker of claim 9, wherein the CTM control circuitry includes a multiplexer for selecting one of the VF, VI and Vd to be compared to a capacitor voltage level (Vsc).
 17. The pacemaker of claim 16, further comprising: a capacitor discharge switch; a bypass capacitor connected across the battery power terminal; and means to provide a brown out voltage limit; wherein the CTM control circuitry is adapted to compare: Vd to Vsc to limit the discharge of the capacitor and open the capacitor discharge switch; VI to Vsc to begin a time charge measurement after the bypass capacitor (Cb) is discharged and a battery terminal voltage (Vbatt) is driven to the brownout voltage (Vstop) limit; and VF to Vsc to end the time charge measurement.
 18. The pacemaker of claim 9, wherein the VF is programmable by a physician.
 19. A pacemaker, including: a battery power terminal for a pacemaker battery; a pacing supply storage (PSS) capacitor; pacemaker control circuitry, including: a switch capacitor power supply having an input connected to the battery terminal, an output connected to the PSS capacitor, and a clock input to enable the switch capacitor power supply to charge the PSS capacitor; a clock signal line, a Vstop reference potential line, and a selectable reference potential (Vx) line; a first comparator having a first input electrically connected to the battery power terminal, a second input connected to the Vstop reference potential line; and an output; a second comparator having a first input connected to the selectable reference potential line, a second input connected to the output of the switch capacitor power supply, and an output; and at least one logic gate, including a first input connected to the output from the first comparator, a second input connected to the output from the second comparator, a third input connected to the clock signal line, and an output connected to the clock input of the switch capacitor power supply; a discharge switch connected to the PSS capacitor; sensing and pace control circuitry connected to the battery power terminal; and charge time measurement (CTM) control circuitry, including: a number of registers to hold a Vd value corresponding to a desired discharge voltage for the PSS capacitor, a VI value corresponding to an initial voltage across the PSS capacitor to begin a time charge measurement, and a VF value corresponding to a final voltage across the PSS capacitor to end the time charge measurement; a multiplexer having an output, the multiplexer being operably connected to the number of registers to selectively pass one of the Vd, VI and VF values to the output of the multiplexer; a D/A converter connected to the output of the multiplexer to convert the selected one of the Vd, VI and VF values to a potential on the selectable reference potential (Vx) line for comparison to the output of the switch capacitor power supply by the second comparator; and a control circuit connected to the multiplexer to select one of the Vd, VI and VF values to appropriately control the switch capacitor power supply to charge the PSS capacitor from the discharge voltage to the initial voltage and from the initial voltage to the final voltage, the control circuit being connected to the discharge switch to selectively discharge the PSS capacitor from the final voltage to the desired discharge voltage, the control circuit being connected to the clock signal line, the control circuit including circuitry to determine a rate of charge storage in the PSS capacitor from the initial voltage to the final voltage, and estimate battery depletion based on the rate of charge storage in the PSS capacitor.
 20. The pacemaker of claim 19, wherein the control circuit includes circuitry to measure a charge time for the storage capacitor to determine the rate of charge storage, to determine a value for an internal AC impedance for the battery based on the rate of charging, and to estimate the battery depletion using the value for the internal AC impedance.
 21. A system, comprising: a battery power terminal for a battery; a capacitor electrically connected to the battery power terminal; means to control current flow from the battery power terminal to charge the capacitor; means to access a predetermined set of charge time measurement set-up parameters and a predetermined elective replacement time (ERT) charge time limit associated with an AC impedance target for the battery, the predetermined set of charge time measurement set-up parameters including: a final voltage (VF) to end a charge time measurement for determining the rate of charge storage in the capacitor; an initial reference voltage (VI) to begin the charge time measurement for determining the rate of charge storage in the capacitor; and a voltage level (Vd) to which the capacitor is discharged prior to beginning the time measurement for determining the rate of charge storage in the capacitor, Vd being less than VI; means to determine a rate of charge storage in the capacitor using the predetermined set of charge time measurement set-up parameters; means to compare the determined rate of charge storage in the capacitor to the predetermined ERT charge time limit for the predetermined set of charge time measurement set-up parameters; and means to declare an ERT based on a number of comparisons between the determined rate of charge storage in the capacitor and the ERT charge time limit.
 22. The system of claim 21, wherein further comprising: means to calculate an AC impedance of the battery using the determined rate of charge storage and the predetermined set of charge time measurement set-up parameters; and means to determine the ERT charge time limit using the AC impedance of the battery.
 23. The system of claim 21, further comprising: a table containing relationships between a number of AC impedances for the battery and a number of rates of charge storage; means to perform a table look-up using the table and the determined rate of charge storage to determine the AC impedance of the battery; and means to determine the ERT charge time limit using the AC impedances.
 24. The system of claim 21, further comprising means to display charge remaining in the battery.
 25. The system of claim 24, wherein the programmer circuitry includes means to graphically display the charge remaining in the battery.
 26. The system of claim 21, further comprising means to estimate a time until the ERT is declared. 